import React, { useState } from 'react';

function App() {
  const [name, setname] = useState<string>('hello')
  return (
    <div className="App">
      <header className="App-header">
        app  --  { name }
      </header>
      <button onClick={() => { setname('zs')}}>click</button>
    </div>
  );
}

export default App;
